home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 November: Tool Chest / Dev.CD Nov 96 TC / Dev.CD Nov 96 TC.toast / Sample Code / Text / SimpleText Sample / AboutBox.r < prev    next >
Encoding:
Text File  |  1996-09-12  |  962 b   |  35 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        AboutBox.r
  3.  
  4.     Contains:    About box for simple text application
  5.  
  6. ** Copyright 1993-1996 Apple Computer. All rights reserved.
  7. **
  8. **    You may incorporate this sample code into your applications without
  9. **    restriction, though the sample code has been provided "AS IS" and the
  10. **    responsibility for its operation is 100% yours.  However, what you are
  11. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  12. **    after having made changes. If you're going to re-distribute the source,
  13. **    we require that you make it clear in the source that the code was
  14. **    descended from Apple Sample Code, but that you've made changes.
  15.  
  16. */
  17.  
  18.  
  19. #include "AboutBox.h"
  20.  
  21. resource 'WIND' (kAboutWindowID, purgeable) {
  22.     {100, 100, 215, 400}, noGrowDocProc, invisible, goAway, 0, ABOUTBOXTITLE, alertPositionMainScreen
  23. };
  24.  
  25. resource 'STR#' (kAboutStrings, purgeable) {
  26.     {
  27.     ABOUTSTRING1;
  28.     ABOUTSTRING2;
  29.     ABOUTSTRING3;
  30.     ABOUTSTRING4;
  31.     ABOUTSTRING5;
  32.     ABOUTSTRING6;
  33.     };
  34. };
  35.